{
	name:"ParaLine",
	tool:"./paint_tool/lines/point-line.shape",
	onClick(pos,e,meta){
		if(!this.step.isEmpty()){
			this.step[0].merge(pos)
			this.commit(Action.PointLine,this.name)
			return
		}
		let path = this.queryLines(pos)
		if(path){
			let a = this.getLM(path,pos).a
				a = Math.formatAngle(a)
			this.step.push({a})
		}
		else
			this.longToast("请选择目标路径")
	},
	onMousemove(pos){
		if(!this.step.isEmpty()){
			this.step[0].merge(pos)
			this.refresh()
		}
	}
}